package com.mohe.dangjian.service.interfaces;

import java.util.List;

import com.mohe.dangjian.model.CommunityProjectActivity;
import com.mohe.dangjian.utils.Page;


/**
 * 居民区项目活动 接口
 * 
 * @author wxm
 *
 */
public interface ICommunityProjectActivity {

	/**
	 * 根据条件查询项目活动信息，只显示指定页的信息
	 * 
	 * @param communityProjectActivity
	 * @param page
	 * @return
	 */
	public List<CommunityProjectActivity> getCommunityProjectActivityList(CommunityProjectActivity communityProjectActivity, Page page);

	/**
	 * 根据条件查询行数
	 * 
	 * @param communityProjectActivity
	 * @return
	 */
	public Integer getCount(CommunityProjectActivity communityProjectActivity);

	/**
	 * 保存项目活动信息
	 * 
	 * @param communityProjectActivity
	 * @return
	 */
	public boolean saveCommunityProjectActivity(CommunityProjectActivity communityProjectActivity);
	
	/**
	 * 批量保存项目活动信息
	 * 
	 * @param communityProjectActivity
	 * @return
	 */
	public boolean saveCommunityProjectActivityList(List<CommunityProjectActivity> communityProjectActivityList);

	/**
	 * 根据编号查询信息
	 * 
	 * @param timeKey
	 * @return
	 */
	public CommunityProjectActivity getCommunityProjectActivityById(Long timeKey);

	/**
	 * 编辑项目活动信息
	 * 
	 * @param communityProjectActivity
	 * @return
	 */
	public boolean updateCommunityProjectActivity(CommunityProjectActivity communityProjectActivity);

	/**
	 * 根据编号删除信息
	 * 
	 * @param timeKey
	 * @return
	 */
	public boolean delCommunityProjectActivity(Long timeKey);

	/**
	 * 获取所有项目活动
	 * 
	 * @return
	 */
	public List<CommunityProjectActivity> getAllCommunityProjectActivity();
	
	/**
	 * 根据条件查询项目活动信息
	 * @param communityProjectActivity
	 * @return
	 */
	public List<CommunityProjectActivity> getCommunityProjectActivityList(CommunityProjectActivity communityProjectActivity);
}
